* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --theme: #2776BB;
}

a {
  text-decoration: none;
}

a:hover {
  color: inherit;
}

.text-theme {
  color: var(--theme);
}

/* General */
.py-20 {
  padding: 0 20px;
}

.py-40 {
  padding: 40px 0;
}

.pb-40 {
  padding-bottom: 40px;
}

.px-40 {
  padding: 0 40px;
}

.p-40 {
  padding: 36px;
}

.p-8-24 {
  padding: 8px 24px !important;
}

.max-content {
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

.space-48 {
  height: 48px;
  width: 100%;
}

.space-32 {
  height: 32px;
}

.col-gap-16 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 16px;
}

.col-gap-32 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  row-gap: 32px;
}

.row-gap-32 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 32px;
  -moz-column-gap: 32px;
  column-gap: 32px;
}

.row-gap-16 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
}

/* Font */
.fs-14 {
  font-size: 14px;
}

.fs-18 {
  font-size: 18px;
}

.fw-400 {
  font-weight: 400;
}

.fw-500 {
  font-weight: 500;
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.input-data {
  padding-bottom: 56px;
}

.table> :not(caption)>*>* {
  padding: 16px 20px;
  text-align: center;
}

.table td {
  border: 1px #dcdcdc solid;
}

table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
  content: url(../img/upsvg.svg);
}

table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
  content: url(../img/downsvg.svg);
}

/* Wrapper */
.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Login Screen */
.login-wrapper {
  height: 100vh;
  width: 100%;
  background: linear-gradient(295.63deg,
      #175a95 0.68%,
      #2776BB 54.53%,
      #5399d7 108.39%)
}

.login-box-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.login-title {
  position: relative;
  font-size: 40px;
  border-bottom: #f3f3f4 solid 2px;
  margin-bottom: 56px;
  padding-bottom: 4px;
}

.login-title span::after {
  position: absolute;
  content: "";
  height: 4px;
  width: 100%;
  background: #2776BB;
  bottom: -3px;
  left: 0;
}

.row {
  --bs-gutter-x: 2rem;
  /* --bs-gutter-y:2rem; */
  padding: 0;
}

/* Custom Form Control */
.input-group .custom-form-control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px 0px;
  background-color: #f9f9fb;
  border-radius: 8px;
  border: none;
}

.login-form .label,
.custom-form-label {
  padding: 0 8px 8px;
  font-weight: 600;
  font-size: 16px;
}

.custom-form-control {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px 20px;
  background-color: #f9f9fb;
  border-radius: 8px;
  border: none;
  color: #1d1d1e;
  /* width: 100%; */
}

.input-group-text {
  background: #f9f9fb;
  border: none;
  border-radius: 8px;
}

/* checkbox-btn */
.checkbox-btn {
  gap: 10px;
  padding-left: 16px;
}

.checkbox-btn input[type="checkbox"] {
  width: 20px;
  height: 20px;
  /* color: #ff0000; */
}

.form-control.datepicker {
  background-image: url(../img/date.svg);
  background-position: right 20px center;
  background-repeat: no-repeat;
}

.checkbox-btn label {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 0;
  padding: 0;
}

/* Form-File selection */
input[type="file"] {
  position: relative;
  width: 100%;
}

input[type="file"]::-webkit-file-upload-button.file-sm {
  padding: 16px !important;
}

input[type="file"]::file-selector-button.file-sm {
  padding: 16px !important;
}

input[type="file"]::file-selector-button {
  font-weight: 600;
  position: absolute;
  color: #fff;
  border-radius: 0 4px 4px 0;
  height: 100%;
  right: -15px;
  top: 5px;
  padding: 10px 35px !important;
  background-color: #3a3a3a;
  box-shadow: 0px 10px 20px rgb(0 0 0 / 8%);
}

::-webkit-input-placeholder {
  color: #99999a;
}

::-moz-placeholder {
  color: #99999a;
}

:-ms-input-placeholder {
  color: #99999a;
}

::-ms-input-placeholder {
  color: #99999a;
}

::placeholder {
  color: #99999a;
}

/* Btn */
.btn {
  padding: 16px 48px;
  color: #fff;
}

.btn:hover {
  color: #fff;
}

.btn-tranparant {
  background-color: #f4f8fc;
  color: #2776BB;
  padding-top: 8px;
  padding-bottom: 8px;
}

.btn-doc-success {
  color: #fff;
  background-color: #2776BB;
  border: none;
  font-weight: 600;
  font-size: 16px;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.btn-doc-danger {
  background-color: #f8605c;
  border: none;
  font-weight: 600;
  font-size: 16px;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 16px;
}

.btn-trash {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 16px;
  width: 56px;
  height: 56px;
}

.btn-doc-success {
  background-color: #2776BB;
  border: none;
  font-weight: 600;
  font-size: 16px;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 16px 48px;
}

.btn-doc-dark {
  background-color: #3e3e3f;
  border: none;
  font-weight: 600;
  font-size: 16px;
  /* width: 100%; */
  background: #3e3e3f;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 16px 48px;
}

.btn-border {
  border: 1px solid #3e3e3f;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 8px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
}

/* Tooltip */
.tooltips {
  position: relative;
}

.tooltips .tooltiptext {
  visibility: hidden;
  background-color: #3e3e3f;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  width: max-content;
  text-align: center;
  border-radius: 8px;
  padding: 8px 16px;
  position: absolute;
  z-index: 1;
  left: 85%;
  top: calc(50% - 20px);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltips .tooltiptext::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
  margin-left: -16px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #3e3e3f transparent transparent;
}

.tooltips:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Modal */
.modal-header {
  background-color: #3e3e3f;
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  padding: 19px 24px;
}

.modal-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 24px;
}

.f-modal-xl {
  max-width: 1400px;
}

/* Content Area */
.page-wrapper {
  background-color: #f3f3f4;
  width: 100%;
  overflow-y: hidden;
}

.content-area {
  /* padding: 0 40px 40px;
    padding-bottom: 50px; */
  padding: 40px;
  height: 100%;
}

.topbar {
  background-color: #ffffff !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar .nav-item .nav-link {
  padding: 18px;
  font-size: 18px;
  color: #99999a;
}

.topbar .custom-form-control {
  padding: 20px;
}

.details-wrapper {
  background: #ffffff;
  -webkit-box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.04);
  box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
}

.wizard-heading {
  padding: 0;
}

.wizard-heading-title,
.wizard-heading-title.collepsed {
  font-size: 18px;
  text-align: center;
  height: 100%;
  color: #99999a;
  border-bottom: 4px solid #f3f3f4;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.accordion-button:not(.collapsed) {
  color: #1d1d1e;
  background-color: #fff;
  font-weight: 600;
  border-bottom-color: #2776BB;
}

option {
  color: #99999a;
}

.max-content {
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

@media screen and (min-width: 1140px) {
  .login-illustration {
    height: 100vh;
    width: auto;
  }

  .login-box {
    width: 600px;
    padding: 40px;
    background: #ffffff;
    -webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.16);
    border-radius: 24px;
  }
}

@media (max-width: 1024px) and (min-width: 490px) {
  .content-area {
    padding: 0 20px 20px;
  }

  .p-40 {
    padding: 20px;
  }

  .py-20 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .accordion-button {
    padding: 12px 16px;
  }

  .space-48 {
    height: 24px;
  }

  .space-32 {
    height: 32px;
  }

  .topbar .nav-item .nav-link {
    padding: 10px;
    height: auto;
  }

  .login-form .label,
  .custom-form-label {
    margin-bottom: 0;
  }

  .custom-form-control {
    padding: 12px 16px;
  }

  .sidebar {
    min-width: 170px !important;
  }

  .sidebar .navbar-brand img {
    padding: 8px;
    width: 100%;
    height: 50px;
  }

  .sidebar .nav-item .nav-link {
    padding: 8px;
  }

  .nav-block {
    padding: 0;
  }

  .menu-item::-webkit-scrollbar {
    width: 5px;
  }

  .menu-item::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #bfbfbf;
  }

  .menu-item {
    min-height: calc(100vh - 52px);
    max-height: 100vh;
    padding-top: 10px;
  }

  .menu-item .nav-item {
    border-radius: 0;
    padding: 8px;
  }

  .menu-item .nav-item.active::before {
    height: 20px;
    width: 4px;
  }

  .nav-text {
    font-size: 12px;
  }

  .menu-item .nav-item img {
    padding-right: 8px;
    width: 24px;
  }

  .nav-link {
    font-size: 14px;
    padding: 6px;
  }
}

#view-history .modal-dialog {
  width: 100%;
}

#view-history .modal-content {
  max-height: 65%;
}

.view-history {
  overflow: scroll;
}

.view-history::-webkit-scrollbar {
  width: 0;
}

.no-data {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.16) !important;
  border-radius: 8px;
  padding: 16px !important;
  font-weight: 600;
}

.persone-user img {
  width: 24px;
}
